package com.chenxin.common.enums.wms;

public enum TaskStatus {
    INIT(0, "初始"),
    EXEC(1, "执行中"),
    DONE(2, "完成"),
    CANCEL(4, "取消"),
    ERROR(9, "异常");
    private final int code;
    private final String info;

    TaskStatus(int code, String info) {
        this.code = code;
        this.info = info;
    }

    public int getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
